#include <stdio.h>
int main ()
{
	int i,j=1;
	for (i=10;i>0;i/=2,j++)
		printf("%d  %d\n",i,j);
return 0;
}